const arr = [3, 5, 6, 1, 90, 10, 4]

const isOdd = x  =>  x % 2 ===1

console.log(arr.sort((a,b)=>a -b).filter(isOdd))



// 1. forEach
arr.forEach(([a,b]) => {
    console.log(a, b);
    
})